<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Swarm Trajectory Planning: headers/data_fitting.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Swarm Trajectory Planning
   </div>
   <div id="projectbrief">Contains tools for measuring UAV swarm performance when flying through a path graph and allows the UAV swarm to fly through a generated graph.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_7f57b1e41c5acd0e859ae5f3a2b075a9.html">headers</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">data_fitting.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef DATA_FITTING_H</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define DATA_FITTING_H</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;cstdio&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;cmath&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="keywordtype">void</span> <a class="code" href="data__fitting_8cpp.html#a74deb510fd707d8e6674b5dd45af6d31">fitting_run</a>(<span class="keywordtype">double</span> time_without_obstacles, std::vector&lt;double&gt; x, std::vector&lt;std::vector&lt;double&gt;&gt; y);</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;std::vector&lt;double&gt; <a class="code" href="data__fitting_8cpp.html#a4527de60f484ec1a00df7164372d480a">lin_fit</a>(std::vector&lt;double&gt; x, std::vector&lt;double&gt; y);</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;std::vector&lt;double&gt; <a class="code" href="data__fitting_8cpp.html#a375adde1de04ca6d8bae502b2902aa74">exp_fit</a>(std::vector&lt;double&gt; x, std::vector&lt;double&gt; y);</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#endif //DATA_FITTING_H</span></div><div class="ttc" id="data__fitting_8cpp_html_a375adde1de04ca6d8bae502b2902aa74"><div class="ttname"><a href="data__fitting_8cpp.html#a375adde1de04ca6d8bae502b2902aa74">exp_fit</a></div><div class="ttdeci">vector&lt; double &gt; exp_fit(vector&lt; double &gt; x, vector&lt; double &gt; y)</div><div class="ttdef"><b>Definition:</b> data_fitting.cpp:76</div></div>
<div class="ttc" id="data__fitting_8cpp_html_a4527de60f484ec1a00df7164372d480a"><div class="ttname"><a href="data__fitting_8cpp.html#a4527de60f484ec1a00df7164372d480a">lin_fit</a></div><div class="ttdeci">vector&lt; double &gt; lin_fit(vector&lt; double &gt; x, vector&lt; double &gt; y)</div><div class="ttdef"><b>Definition:</b> data_fitting.cpp:49</div></div>
<div class="ttc" id="data__fitting_8cpp_html_a74deb510fd707d8e6674b5dd45af6d31"><div class="ttname"><a href="data__fitting_8cpp.html#a74deb510fd707d8e6674b5dd45af6d31">fitting_run</a></div><div class="ttdeci">void fitting_run(double time_without_obstacles, vector&lt; double &gt; x, vector&lt; vector&lt; double &gt;&gt; y)</div><div class="ttdef"><b>Definition:</b> data_fitting.cpp:17</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
